getSelector
( class in module jsPlumb
)
This method takes the given selector spec and, using the current underlying library, turns it into a selector from that library. This method exists really as a helper function for those applications where you're writing jsPlumb code that will target more than one library (such as in the case of the jsPlumb demo pages).
context – {object} –
An element to search from. may be omitted (not null: omitted. as in you only pass one argument to the function)
spec – {string} –
A valid selector string.